function y = Diagonal_1(x)
%Diagonal1 Function
%x0=[1/n, 1/n, ....., 1/n]
%fmin=n/2
%Author:shi yangyang
n=length(x);
y=ones(1,n);
for i=1:1:n
    y(i)=exp(x(i))-i*x(i);
end
y=sum(y);